﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SayHere
{
    internal class DataTreeNode : System.Windows.Forms.TreeNode
    {
        internal int ID { get; set; }
        internal object DataObject { get; set; }


        internal DataTreeNode(object dataObject, int id, string displayText)
            : base(displayText)
        {
            this.DataObject = dataObject;
            this.ID = id;
        }

        internal DataTreeNode(object dataObject, int id, string displayText, int imageIndex, int selectedImageIndex)
            : base(displayText, imageIndex, selectedImageIndex)
        {
            this.DataObject = dataObject;
            this.ID = id; 
        }

    }
}
